package com.google.common.min;

/**
 * @author jason
 */
public class Inline {

    /**
     * Lazy chain some action into a boolean expression. Intended for static import.
     * <p/>
     * e.g. condition && doTrue(methodWithReturn())
     *
     * @param o
     * @return true
     */
    public static boolean doTrue(Object o) {
        return true;
    }

    /**
     * Lazy chain some action into a boolean expression. Intended for static import.
     * <p/>
     * e.g. condition && doFalse(methodWithReturn())
     *
     * @param o
     * @return false
     */
    public static boolean doFalse(Object o) {
        return false;
    }
}
